<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta charset="UTF-8">
		<title>共富网-红包 </title>
		<link href="/game/redpack/css/redPacket.css" type="text/css"
		rel="stylesheet" />
		<script type="text/javascript" src="/v3/js/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script type="text/javascript">
			var senvKey = '${senvKey}';
		</script>
	</head>
	<body>
	<div class="wztkjPopUpBox" style="display:none;">
		<div class="wztkjPopUpBoxMain">
			<div class="wztkjPopUpBoxContent1">
				<img src="/game/redpack/images/popUpBoxMark_03_06.png" />
			</div>
			<div class="wztkjPopUpboxBg">
				<div class="wztkjPopUpBoxContent2"></div>
				<div class="wztkjPopUpBoxContent3">
					<p class="wztkjPopUpboxP">取消</p>
					<p class="wztkjPopUpboxP1">确定</p>
					<div style="display:none;"></div>
				</div>
				<div class="wztkjPopUpBoxContent4" style="display:none;">确定</div>
			</div>
		</div>
		</div>

		<div class="robAfterMain">
        	<div class="fightLuck">
        		<div class="fightLuck-header">
                	<span>
                		<c:if test="${env_type == 2}">
                			<img src="/game/redpack/images/fightLuck_title.png" />
                		</c:if>
                	</span>
                </div>
        	
                <div class="fightLuck-center">
                
					<p>红包总额<b>${env_amount }</b>元<p>
                    <p>红包个数<b>${env_count }</b>个<p>
                    <div class="fightLuck-center-spacing"></div>
                    <div class="redPacketBBase">
						<div class="redPacketBOuter">
							<a href="javascript:;" onclick="button1()">发红包</a>
						</div>
					</div>
                    <div class="fightLuck-center-spacing"></div>
                    <div class="fightLuck-center-footer">赶快转发给微信好友们吧！</div>
                </div>
                <div class="fightLuck-footer"></div>
            </div>
        </div>
        <div class="fightLuck-mask"></div>
		
		 <!--分享--> 
		<a href="javascript:;">
			<div id="mcover" onclick="weChat()" style="display:none;color:#fff;">
				<img src="/game/redpack/images/240.png" />
			</div>
		</a>
	  <script type="text/javascript" src="/game/redpack/js/jquery.hbalerts.js"></script>
	  <script type="text/javascript" src="/v3/js/wechat-util.js"></script>
	  <script type="text/javascript" src="/game/redpack/js/share.redpack.js"></script>
	  <script type="text/javascript">
		function button1(){
			$("#mcover").css("display","block");    // 分享给好友按钮触动函数
		}
		function button2(){
			$("#mcover").css("display","block");  // 分享给好友圈按钮触动函数
		}
		function weChat(){
			$("#mcover").css("display","none");  // 点击弹出层，弹出层消失
		}
		
		function buttongy(){
			$("#mcovergy").css("display","block");    // 分享给好友按钮触动函数
		}
		function weChatgy(){
			$("#mcovergy").css("display","none");  // 点击弹出层，弹出层消失
		}
		</script>
		<!--分享末--> 
</body>
</html>